package com.redlight.pool;

/**
 * Created by chao on 2019/1/23.
 */
public class PoolArgs {
    private String id;
    private int coreTNum=5;
    private int maxTNum=5;
    private int cacheTNum=30;
    private long keepAlive=10000L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getCoreTNum() {
        return coreTNum;
    }

    public void setCoreTNum(int coreTNum) {
        this.coreTNum = coreTNum;
    }

    public int getMaxTNum() {
        return maxTNum;
    }

    public void setMaxTNum(int maxTNum) {
        this.maxTNum = maxTNum;
    }

    public int getCacheTNum() {
        return cacheTNum;
    }

    public void setCacheTNum(int cacheTNum) {
        this.cacheTNum = cacheTNum;
    }

    public long getKeepAlive() {
        return keepAlive;
    }

    public void setKeepAlive(long keepAlive) {
        this.keepAlive = keepAlive;
    }
}
